package com.ruoyi.classai.domain;

    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

    import javax.validation.constraints.NotBlank;
    import javax.validation.constraints.NotNull;
    import java.io.Serializable;

/**
 * 培训信息对象 px_training
 *
 * @author lcj
 * @date 2025-06-17
 */
@Data
@TableName("px_training")
@Schema(description="培训信息对象px_training")
public class PxTraining implements Serializable{

private static final long serialVersionUID = 1L;


    /** $column.columnComment */
    @Schema(description  = "$column.columnComment")
    private String id;

    /** 培训名称 */
    @Excel(name = "培训名称")
    @Schema(description  = "培训名称")
    @NotBlank(message = "培训名称不能为空")
    private String trainingTitle;

    /** 培训备注 */
    @Excel(name = "培训备注")
    @Schema(description  = "培训备注")
    private String trainingNotes;

    /** 培训学时 */
    @Excel(name = "培训学时")
    @Schema(description  = "培训学时")
    private Integer trainingHours;

    /** 培训学分 */
    @Excel(name = "培训学分")
    @Schema(description  = "培训学分")
    private Integer trainingScore;

    /** 培训类型 */
    @Excel(name = "培训类型")
    @Schema(description  = "培训类型")
    @NotNull(message = "培训类型不能为空")
    private Integer trainingType;

    /** 培训开始时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Excel(name = "培训开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description  = "培训开始时间")
    @NotNull(message = "培训开始时间不能为空")
    private Date startTime;

    /** 培训结束时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Excel(name = "培训结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description  = "培训结束时间")
    @NotNull(message = "培训结束时间不能为空")
    private Date endTime;
    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新时间")
    private Date updateTime;


    /** 附件地址 */
    @Excel(name = "附件地址")
    @Schema(description  = "附件地址")
    private String attachmentUrl;

    /** 培训地址 */
    @Excel(name = "培训地址")
    @Schema(description  = "培训地址")
    private String trainingAddress;

    /** 状态 */
    @Excel(name = "状态")
    @Schema(description  = "状态")
    private Integer status;

    /** 学校ID */
    @Excel(name = "学校ID")
    @Schema(description  = "学校ID")
    private String schoolId;

    /** 学分发放类型0市区发放1平台发放 */
    @Excel(name = "学分发放类型")
    @Schema(description  = "学分发放类型0市区发放1平台发放")
    private Integer trainingScoreType;




}
